import styled from "styled-components";

export const PlayerWrapper = styled.div `
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    background-position: 0 0;
    background-repeat: repeat;
    z-index: 999;
    .content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        height: 46px;
  }
`

export const Control = styled.div `
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 130px;
`

export const PlayInfo = styled.div `
  display: flex;
  align-items: center;
  width: 600px;
  img {
    width: 34px;
    height: 35px;
  }
  .right {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    .top {
      font-size: 12px;
      color: #fff;
      height: 15px;
      padding-left: 8px;
    }
    .bottom {
      display: flex;
      align-items: center;
      height: 20px;
      .ant-slider {
        width: 460px;
      }
    .ant-slider-rail {
      height: 8px;
      border-radius: 5px;
      background-color: black;
    }
    .ant-slider-track {
      height: 8px;
      border-radius: 5px;
      background-color:#c70c0c;
    }
    .ant-slider-handle {
      margin-top: -3px;
      border: 2px solid #c70c0c;
    }

    .time {
      font-size: 12px;
      color: #a1a1a1;
      padding-left: 10px;
    }
    }
  }
  
`

export const Operator = styled.div `
  display: flex;
  width: 190px;
  .left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    img {
      width: 22px;
      height: 22px;
    }
  }
  .divier {
    color: black;
    padding: 0 12px;
  }
  .right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    img {
      width: 22px;
      height: 22px;
    }
  }
 `